<template>
  <el-form :model="form" label-width="85px">
    <el-form-item label="用户名">
      <el-input v-model="form.username"/>
    </el-form-item>
    <el-form-item label="密码">
      <el-input v-model="form.password" type="password"/>
    </el-form-item>
    <el-form-item>
      <el-button type="primary">确认</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  name: 'AddAdmin',
  data() {
    return {
      form: {
        username: '',
        password: ''
      }
    }
  },
  methods: {}
}
</script>

<style scoped>
.el-form{
  padding-top: 50px;
}
.el-input{
  width: 50%;
}
.el-button{
  width: 20%;
  background-color: #304156;
  border-color: #304156;
}
</style>
